package com.gxar.marketdelivery.application.command;

import com.gxar.marketdelivery.application.context.DeliveryContext;
import com.gxar.marketdelivery.shared.model.DeliveryRuleModel;
import org.springframework.stereotype.Component;

/**
 * @author nice
 * @version 1.0
 * @created 2023/8/3.
 */
@Component
public class GrayMatcher implements IRuleMatcher {

    @Override
    public boolean isMatch(DeliveryContext context, DeliveryRuleModel ruleModel) {
        return true;
    }

    @Override
    public int getOrder() {
        return GRAY;
    }
}
